import { post } from '@/utils/ajax'

//查询公司列表
export function listCompany(query){
    return post('/system/company/companyTreeList',query);
}

//懒加载查询公司列表
export function companyListByParentId(parentId){
    return post('/system/company/companyListByParentId',{parentId},{noLoading:true});
}

//远程搜索公司列表
export function remoteSearchCompanyList(companyNameLike){
    return post('/system/company/remoteSearchCompanyList',{companyNameLike},{noLoading:true});
}